package cz.fit.dpo.task1.worlds;

import java.util.ArrayList;

import cz.fit.dpo.task1.World;
import cz.fit.dpo.task1.utils.Tuple;


public class World1 extends World {

	public static final String NAME="Clue";
	
	public World1 () {
		name = NAME;
		rooms = new ArrayList<String>();
		rooms.add ("hall");
		rooms.add ("kitchen");
		rooms.add ("lounge");
		rooms.add ("ballroom");
		rooms.add ("conservatory");
		rooms.add ("study");
		doors = new ArrayList<Tuple<String, String>>();
		doors.add ( new Tuple<String, String>("hall", "kitchen") );
		doors.add ( new Tuple<String, String>("hall", "lounge") );
		doors.add ( new Tuple<String, String>("hall", "ballroom") );
		doors.add ( new Tuple<String, String>("hall", "conservatory") );
		doors.add ( new Tuple<String, String>("hall", "study") );
		doors.add ( new Tuple<String, String>("ballroom", "kitchen") );
		doors.add ( new Tuple<String, String>("ballroom", "conservatory") );
		items = new ArrayList<Tuple<String, String>>();
		items.add ( new Tuple<String, String>("knife", "kitchen") );
		items.add ( new Tuple<String, String>("fork", "kitchen") );
		items.add ( new Tuple<String, String>("high-heeled shoes" + World.UNMOVABLE, "ballroom") );
		items.add ( new Tuple<String, String>("The Unbearable Lightness of Being", "study") );
		items.add ( new Tuple<String, String>("Love in the Time of Cholera", "study") );
		items.add ( new Tuple<String, String>("sofa" + World.UNMOVABLE, "lounge") );
		items.add ( new Tuple<String, String>("umbrella", "hall") );
		items.add ( new Tuple<String, String>("picture" + World.UNMOVABLE, "hall") );
		items.add ( new Tuple<String, String>("envelope", "hall") );
		items.add ( new Tuple<String, String>("rope", "hall") );
		playerStartsIn = "hall";
		winningConditions = new ArrayList<String>();
		winningConditions.add ("player isIn ballroom");
		winningConditions.add ("player visited kitchen");
		winningConditions.add ("player visited lounge");
		winningConditions.add ("player visited conservatory");
		winningConditions.add ("player visited study");
		winningConditions.add ("player owns fork");
		winningConditions.add ("player owns Love in the Time of Cholera");
		winningConditions.add ("player owns umbrella");
	}

}
